package cn.thornbird.orgsync.model.certificate;

import lombok.Data;

@Data
public class WechatCertificate extends AppCertificate {

    public WechatCertificate() {
        super();
    }

    public WechatCertificate(String corpId, String corpSecret) {
        super();
        this.setCorpId(corpId);
        this.setCorpSecret(corpSecret);
    }

    @Override
    protected void addFields() {
        fields.add("corpId");
        fields.add("corpSecret");
        fields.add("addressBookSecret");
    }

    /** 企业ID */
    private String corpId;

    /** 应用凭证密钥 */
    private String corpSecret;

    /** 通讯录同步密钥 */
    private String addressBookSecret;

}
